package com.weipai.education.service;

import com.weipai.education.model.Exchange;
import com.weipai.education.model.User;
import com.weipai.education.model.api.Response;

import java.math.BigDecimal;

/**
 * @Author: 曹朋飞
 * @Date: 2018/12/17 17:27
 */
public interface ExchangeService {
    
    //退换货订单保存
    Response save(Exchange exchange, String goodsBarCode,Integer orderId,Integer isHeadset);

    //自己申请的退换货订单分页查询
    Response list(Integer page, Integer size, String orderNumber, String orderType, 
                     String startTime, String endTime, String type);

    //审核退换货订单
    Response isAudit(String status, String id);

    //退换货详情
    Response exchangeInfo(String id);

    void addMessage(User user, BigDecimal price, Integer userId);
}
